package com.jindianjichi.basic.service;

import com.jindianjichi.basic.entity.SubjectCategory;

import java.util.List;


/**
 * 题目分类(SubjectCategory)表服务接口
 *
 * @author makejava
 * @since 2024-11-15 22:47:54
 */
public interface SubjectCategoryService {


    List<SubjectCategory> queryAllByLimit(SubjectCategory subjectCategory);
    /**
     * 分页查询
     *
     * @param subjectCategory 筛选条件
     * @param pageRequest      分页对象
     * @return 查询结果
     */


    /**
     * 新增数据
     *
     * @param subjectCategory 实例对象
     * @return 实例对象
     */
    SubjectCategory insert(SubjectCategory subjectCategory);

    /**
     * 修改数据
     *
     * @param subjectCategory 实例对象
     * @return 实例对象
     */
    Integer deleteCategory(SubjectCategory subjectCategory);


    SubjectCategory queryById(String categoryId);

    Integer querySubjectCount(Long id);

}
